<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>prototype</title>
		<script>
			Date.prototype.chinaFormat=function(){
				let s=this.getFullYear()+"年"+(this.getMonth()+1)+"月"+this.getDate()+"日";
				return s;
			}
			var d=new Date();
			alert(d.chinaFormat());
			/**
			Math.prototype.bijiao=function(a,b){
				return a>b?a:b;
			}
			alert(Math.bijiao(1,34));**/
		</script>
	</head>
	<body>
	</body>
</html>